package com.itheima.dubbo.api;

import com.itheima.model.mongo.Movement;
import com.itheima.model.vo.PageResult;

import java.util.List;

public interface MovementApi {
    void publish(Movement movement);

    Movement findone(String id);

    PageResult all(Integer page, Integer pagesize, Long userId);

    

    List<Movement> getRandom(Integer pagesize);

    List<Movement> findPids(List<Long> pids);

    List<Movement> FriendMovement(Long userId, Integer page, Integer pagesize);


}
